var State = function(){

	var _gold;
	var _enemies = new Array();
	var _cannons = new Array();
	var _life = new Array();

	return {
		/* getter */
		getGold : function(){
			return _gold;
		},	

		/* setter */
		setGold : function(gold){
			_gold = gold;	
		},

	}




}();//関数を実行!結果がStateにセット
